package com.tz.entity;

import org.springframework.stereotype.Component;

/**
 * Created by Administrator on 2017/1/6.
 */
@Component
public class Display {

    private Long id;

    private int size; //尺寸

    private String type; //类型

    private String brand; //品牌

    public Display() {
    }

    public Display(Long id, int size, String type, String brand) {
        this.id = id;
        this.size = size;
        this.type = type;
        this.brand = brand;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Display{");
        sb.append("id=").append(id);
        sb.append(", size=").append(size);
        sb.append(", type='").append(type).append('\'');
        sb.append(", brand='").append(brand).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
